package com.android.camera2.common.mode;

public interface ICameraMode {


    //camera state
    int IDLE = 1;
    int OEPNING = 2;
    int OPENED = 3;
    int PREVIEW = 4;

    //lifecycle
    void init();

    void resume();

    void pause();

    void destroy();

    //camera operation
    void openCamera();

    void startPreview();

    void stopPreview();

    void closeCamera();
}
